package javacode.chapter06;

public class TestScore {
    public static void main(String[] args) {
        Score score = new Score();
        Students student = new Students();
        //赋予属性值
        student.java=80;
        student.database=95;
        student.html=77;
        float avg = score.getAvg(student);
        System.out.println("该学生的平均分为："+avg);
    }
}
